#include<stdio.h>
#include<conio.h>

void main()
	{
	 int dai,rong;
	 float dt, cv;


	 clrscr();
	 printf("nhap chieu rong:" );
	 scanf(" %d" , &rong);

	 printf("nhap chieu dai :");
	 scanf("%ld", &dai);

	 dt= dai*rong;

	 printf("tinh dt:%f", dt);

	 cv= (dai+rong)/2;
	 printf("tinh cv:%f",cv);

	 getch();
	}
